import { createStore, applyMiddleware, combineReducers } from 'redux'

import thunk from 'redux-thunk'

import home from './reducers/home'
import kind from './reducers/kind'

const reducer = combineReducers({
  home,
  kind
})

const store = createStore(reducer, applyMiddleware(thunk))

export default store